package com.chenlei.openfeign.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

//指定 Feigin要调用的服务名
//path是指定的
@FeignClient(name = "stock-service", path = "/stock/")
public interface StockFeignInterface {

    @RequestMapping("/add")
    String addStock();

}
